package org.javaboy.aware_demo.service;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Service;

/**
 * @author 江南一点雨
 * @微信公众号 江南一点雨
 * @网站 http://www.itboyhub.com
 * @国际站 http://www.javaboy.org
 * @微信 a_java_boy
 * @GitHub https://github.com/lenve
 * @Gitee https://gitee.com/lenve
 */
@Service
public class UserService implements BeanNameAware {

    public void sayHello() {
        System.out.println("hello javaboy");
    }

    @Override
    public void setBeanName(String name) {
        System.out.println("bean name is " + name);
    }
}
